
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '加盟商管理',
    enableValidate: false
})

@Injectable()
export class DataGridComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'merchantName',
        name: "{{merchantName_78b40282_lizg}}",
        binding: 'merchantName',
        updateOn: 'blur',
        defaultI18nValue: '商户名称',
    })
    merchantName: FormControl;

    @NgFormControl({
        id: 'merchantCode',
        name: "{{merchantCode_2bd9eee6_smaj}}",
        binding: 'merchantCode',
        updateOn: 'blur',
        defaultI18nValue: '商户编号',
    })
    merchantCode: FormControl;

    @NgFormControl({
        id: 'companyType',
        name: "{{companyType_65b40a47_vnuy}}",
        binding: 'companyType',
        updateOn: 'blur',
        defaultI18nValue: '企业类型',
    })
    companyType: FormControl;

    @NgFormControl({
        id: 'merchantType',
        name: "{{merchantType_503b4b06_as9b}}",
        binding: 'merchantType',
        updateOn: 'blur',
        defaultI18nValue: '商户类型',
    })
    merchantType: FormControl;

    @NgFormControl({
        id: 'realName',
        name: "{{realName_89a91e80_enha}}",
        binding: 'realName',
        updateOn: 'blur',
        defaultI18nValue: '真实姓名',
    })
    realName: FormControl;

    @NgFormControl({
        id: 'fullName',
        name: "{{fullName_28a31224_8jfn}}",
        binding: 'fullName',
        updateOn: 'blur',
        defaultI18nValue: '企业全称',
    })
    fullName: FormControl;

    @NgFormControl({
        id: 'businessLicense',
        name: "{{businessLicense_e654862f_3fxg}}",
        binding: 'businessLicense',
        updateOn: 'blur',
        defaultI18nValue: '营业执照编码',
    })
    businessLicense: FormControl;

    @NgFormControl({
        id: 'address',
        name: "{{address_f363329b_2e13}}",
        binding: 'address',
        updateOn: 'blur',
        defaultI18nValue: '商户地址',
    })
    address: FormControl;

    @NgFormControl({
        id: 'email',
        name: "{{email_fdb165fd_1x21}}",
        binding: 'email',
        updateOn: 'blur',
        defaultI18nValue: '邮箱',
    })
    email: FormControl;

    @NgFormControl({
        id: 'telephone',
        name: "{{telephone_c05ed8e3_cpv0}}",
        binding: 'telephone',
        updateOn: 'blur',
        defaultI18nValue: '联系电话',
    })
    telephone: FormControl;

    @NgFormControl({
        id: 'adminstrator',
        name: "{{adminstrator_c43e5e7f_487n}}",
        binding: 'adminstrator',
        updateOn: 'blur',
        defaultI18nValue: '管理员',
    })
    adminstrator: FormControl;

    @NgFormControl({
        id: 'remark',
        name: "{{remark_77d07691_55vu}}",
        binding: 'remark',
        updateOn: 'blur',
        defaultI18nValue: '备注',
    })
    remark: FormControl;

}